package com.briup.smartcity.mapper.extend;

import com.briup.smartcity.bean.BaseUser;

import java.util.List;

public interface BaseUserExtendMapper {
    BaseUser selectBaseUserByUsername(String username);
    void updateUserStatus(String username);
    //void updateloginoutstatus(String username);
    void updateIconById(Integer id,String icon);

    void updateStatusByid(Integer id,Integer statu);
    List<BaseUser> getInfoByUsername(String username);
    List<BaseUser> getInfoByUsernameAndRole(String username, Integer role);
    BaseUser getRoleByUsername(String username);
}
